package cn.cloudtogo.server.atomapi.event;

import cn.cloudtogo.server.atomapi.ApiTokenCreateParam;
import org.springframework.context.ApplicationEvent;

/**
 * @author yaolianhua789@gmail.com
 **/
public class GlobalApiTokenCreatedEvent extends ApplicationEvent {

    public GlobalApiTokenCreatedEvent(ApiTokenCreateParam apiTokenCreateParam) {
        super(apiTokenCreateParam);
    }

    public ApiTokenCreateParam getApiTokenCreateParam() {
        return ((ApiTokenCreateParam) super.getSource());
    }
}
